<h2>View Users</h2>

<fieldset>
    <fieldset>
        <legend>Personal Data</legend>
        <dl>
            <dt>Name</dt>
                <dd><?php echo $user['User']['name']; ?>&nbsp;</dd>
            <dt>Company</dt>
                <dd><?php echo $user['User']['company']; ?>&nbsp;</dd>    
            <dt>Email</dt>
                <dd><?php echo $user['User']['email']; ?>&nbsp;</dd>
            <dt>Password</dt>
                <dd><?php echo $user['User']['password'] ;?>&nbsp;</dd>
        </dl>
    </fieldset>
    <fieldset>
        <legend>Kontakt</legend>
        <dl>
            <dt>Phone</dt>
                <dd><?php echo $user['User']['phone']; ?>&nbsp;</dd>
            <dt>Fax</dt>
                <dd><?php echo $user['User']['fax']; ?>&nbsp;</dd>
        </dl>
    </fieldset>
    <fieldset>
        <legend>Group</legend>
            <?php foreach ($user['Group'] as $group) : ?>
                <?php echo $group['name']." "; ?>&nbsp;
            <?php endforeach; ?>
    </fieldset>
    <dl>
        <?php echo $html->link("Orders",array('controller'=>'orders','action'=>'admin_user_orders',$user['User']['id']))?>
    </dl>
</fieldset>
